﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <link href="../themes/bootstrap/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <script src="../Jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="../Jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
</head>
<body>
    <div>
        <fieldset style="border-color:#b0e0f8;">
            <legend>查找会员</legend>
            <table>
                <tr>
                    <td>
                        卡号/手机：
                        <input type="text" id="txtTel" class="easyui-textbox" />
                    </td>
                    <td>
                        兑换日期：
                        <input class="dt" type="text" name="birthday" />
                    </td>
                    <td>
                        至：
                        <input class="dt" type="text" name="birthday" />
                        <script>
                            $('.dt').datetimebox({
                                required: true,
                                showSeconds: false
                            });
                        </script>
                    </td>
                    <td>
                        <a id="btnSelect" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',toggle:true">查询</a>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    <br />
    <div>
        <table id="dg"></table>
        <script>
            $('#dg').datagrid({
                fitColumns: true,
                pagination: true,
                singleSelect: true,
                rownumbers: true,
                method: "get",
                url: '/Json/Exchange.json',
                columns: [[
                    { field: 'IntegrationID', title: '礼品编号', width: 90 },
                    { field: 'IntegrationCode', title: '礼品代号', width: 90 },
                     { field: 'IntegrationName', title: '礼品名称', width: 90 },
                    { field: 'Integration', title: '所需积分', width: 90 },
                     { field: 'number', title: '礼品数量', width: 90 },
                    { field: 'Remark', title: '备注', width: 90 },
                ]]
            });
        </script>
    </div>
</body>
</html>
